<?php


/**
* Puree CMS
* http://www.molotsoft.ru
*
* @package Puree_CMS
* @subpackage Models
* @author Ivan Chistyakov <ivan@molotsoft.ru>
* @version $Id: order.php 1074 2010-03-24 08:03:49Z molotsoft@gmail.com $
* @link $HeadURL: http://puree-cms.googlecode.com/svn/trunk/models/order.php $
*/


class Order extends GeneralModel {

/******************************************************************************/

var $name = 'Order';

var $belongsTo = array(
	'Account'
);

var $displayField = 'id';

var $order = array(
	'Order.created' => 'DESC',
	'Order.id' => 'DESC'
);

var $actsAs = array(
	'Admin.Automate',
	'Containable'
);

/******************************************************************************/

/*function beforeDelete($cascade) {
	return FALSE;
}*/

/******************************************************************************/

}


?>